from Tkinter import *
import math

root=Tk()
root.title("create network")
frame= Frame(root, bg ='white', width=400, height=40)
frame.pack(fill='x')
button1 = Button(frame, text='create').grid(row=0, column=0)
button2 = Button(frame, text='Link').grid(row=0,column=1)
button3 = Button(frame, text='Quit',command=frame.quit).grid(row=0,column=2)
width=400
height=400
center=height*(5/6)
c = Canvas(root, width=width, height=height, bg='white')
c.pack()
root.mainloop()
